package org.zcl.sqlserver.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.zcl.sqlserver.entity.CreateForBooking;
import org.zcl.sqlserver.feign.facade.CouponFacade;
import org.zcl.sqlserver.service.CouponService;

import javax.annotation.Resource;

@Slf4j
@Service
public class CouponServiceImpl implements CouponService {


    @Resource
    private CouponFacade couponFacade;

    @Override
    public String createCoupon(CreateForBooking createForBooking) {
        return couponFacade.createCoupon(createForBooking);
    }
}
